STEP 4: Let's create a random number that the player will have to guess.

We'll be able to see the value of the random number so that we can test our program out - we'll hide it later!

  • Click the LOGIC tab. Go to and drag out Random Integer.
  • Go to and drag out Variable Display.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)